home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-03 | 1.6 KB | 65 lines | [TEXT/MPS ] |
- //----------------------------------------------------------------------------------------
- // MSimpleContainer.cp
- // Copyright © 1991-96 by Apple Computer, Inc. All rights reserved.
- //----------------------------------------------------------------------------------------
-
- // Simple Container
-
- #ifndef __UContainerApplication__
- #include "UContainerApplication.h"
- #endif
-
- #ifndef __UMYODPARTVIEW__
- #include "UMyODPartView.h"
- #endif
-
-
- // MacApp
-
- #ifndef __UDIALOG__
- #include "UDialog.h"
- #endif
-
- #ifndef __UERRORMGR__
- #include "UErrorMgr.h"
- #endif
-
- #ifndef __UMACAPPGLOBALS__
- #include "UMacAppGlobals.h"
- #endif
-
- #ifndef __UMACAPPUTILITIES__
- #include "UMacAppUtilities.h"
- #endif
-
- // Generate universal code
- #pragma processor 68000
-
-
- //----------------------------------------------------------------------------------------
- // main:
- //----------------------------------------------------------------------------------------
- #pragma segment Main
-
- void main ()
- {
- InitUMacApp(4); // Initialize MacApp with 4 calls to MoreMasters
- //InitUTEView(); // Initialize the text editing unit
- InitUDialog(); // Initialize the dialog unit
- //InitUGridView(); // Initialize the GridView unit
- #if qDrag
- if (HasDragManager())
- InitUDragManager(); // Initialize the DragManager
- #endif
- InitUMyODPartView();
-
- TContainerApplication* aContainerApplication = new TContainerApplication;
- aContainerApplication->IContainerApplication();
- aContainerApplication->Run();
- } // main
-
- //----------------------------------------------------------------------------------------
- // End of MSimpleContainer.cp
-
- #pragma segment Inline
-